/*
 *
10
0

100
3 3 3 3 3 3 3 3 3 3 1111 
 */
#include <iostream>
#include <vector>
using namespace std;
void display(vector<int> &v){
	while(!v.empty()){
		cout << v.back() << " ";
		v.pop_back();
	}
	cout << endl;
}
int main(void){
	
	vector<int> v1;
	v1.reserve(10);
	cout << v1.capacity() << endl;
	cout << v1.size() << endl;
	display(v1);
	
	vector<int> v2(100);
	cout << v2.capacity() << endl;
	
	vector<int> v3(10,3);
	v3.insert(v3.begin(), 1111);
	display(v3);
	return 0;
}
